#include "dragdisplaywnd.h"

DragDisplayWnd::DragDisplayWnd(QWidget *parent) : QWidget(parent)
{
    QHBoxLayout* _hbo=new QHBoxLayout;
    m_display=new QLabel(this);
    _hbo->addWidget(m_display);
    this->setLayout(_hbo);
    this->setStyleSheet("background-color:transparent;");
}

void DragDisplayWnd::setDisplayContent(const QString &content)
{
    m_display->setText(content);
}
